package com.sm42.goodsEntity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@TableName("product")
public class Product {
  @TableId(type = IdType.AUTO)
  private long productId;
  private String productCoding;
  private String productClass;
  private String productBrand;
  private String productType;
  private String productColor;
  private long createId;
  private LocalDateTime createTime;
  private long updateId;
  private LocalDateTime updateTime;


  public long getProductId() {
    return productId;
  }

  public void setProductId(long productId) {
    this.productId = productId;
  }


  public String getProductCoding() {
    return productCoding;
  }

  public void setProductCoding(String productCoding) {
    this.productCoding = productCoding;
  }


  public String getProductClass() {
    return productClass;
  }

  public void setProductClass(String productClass) {
    this.productClass = productClass;
  }


  public String getProductBrand() {
    return productBrand;
  }

  public void setProductBrand(String productBrand) {
    this.productBrand = productBrand;
  }


  public String getProductType() {
    return productType;
  }

  public void setProductType(String productType) {
    this.productType = productType;
  }


  public String getProductColor() {
    return productColor;
  }

  public void setProductColor(String productColor) {
    this.productColor = productColor;
  }


  public long getCreateId() {
    return createId;
  }

  public void setCreateId(long createId) {
    this.createId = createId;
  }

  public long getUpdateId() {
    return updateId;
  }

  public void setUpdateId(long updateId) {
    this.updateId = updateId;
  }


  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }

  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

  @Override
  public String toString() {
    return "Product{" +
            "productId=" + productId +
            ", productCoding='" + productCoding + '\'' +
            ", productClass='" + productClass + '\'' +
            ", productBrand='" + productBrand + '\'' +
            ", productType='" + productType + '\'' +
            ", productColor='" + productColor + '\'' +
            ", createId=" + createId +
            ", createTime=" + createTime +
            ", updateId=" + updateId +
            ", updateTime=" + updateTime +
            '}';
  }
}
